import { db } from './DexieRow';

/**
    id:主键,
    orgId:租户号,
    revision:乐观锁,
    createdBy:创建人,
    createdTime:创建时间,
    updatedBy:更新人,
    updatedTime:更新时间,
    label:api名称,
    moduleId:模块id,
    path:api路径
*/
db.version(1).stores({
  api: `
    ++id ,
    orgId ,
    revision ,
    createdBy ,
    createdTime ,
    updatedBy ,
    updatedTime ,
    label ,
    moduleId ,
    path 
`,
});
